package cn.xchats.demo.core.api;

import cn.xchats.demo.core.dto.UserDto;

import java.util.List;

/*
 *
 *@author teddy
 *@date 2018/7/4
 */
public interface UserApi {

    boolean createUser(UserDto user);

    UserDto getUser(String id);

    List<UserDto> listUser();
}
